home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 March / Gamestar_71_2005-03_dvd.iso / Dema / willofsteel_demo.exe / {app} / Data / gui / GUIconstants.lua < prev    next >
Text File  |  2004-10-23  |  3KB  |  97 lines

  1. -- --------------------------------------------------- COMPONENT ID
  2. ID_BUTTON            = 0 
  3. ID_RADIO_BUTTON        = 1 
  4. ID_CHK_BOX            = 2  
  5. ID_EDIT_BOX            = 3 
  6. ID_LIST                = 4 
  7. ID_TEXT_BOX            = 5 
  8. ID_PICTURE_BOX        = 6 
  9. ID_FRAME            = 7 
  10. ID_SCROLL            = 8 
  11. ID_PROGRESSBAR        = 9 
  12. ID_SLIDEMENU        = 10
  13. ID_COMPASS            = 11
  14. ID_MINIMAP            = 12
  15. ID_SELECTIONBOX        = 13
  16. ID_TABLECC            = 14
  17. ID_POOLFRAME        = 15
  18. ID_SOLDIERPOOL_ELEM = 16
  19. ID_VEHICLEPOOL_ELEM = 17
  20.  
  21.  
  22. -- --------------------------------------------------- PGUITextBox type
  23.     PGUI_SINGLELINE_TEXT    = 0
  24.     PGUI_MULTILINE_TEXT        = 1
  25.     PGUI_FILENAME            = 2
  26.  
  27.     PGUI_SIGNED_INTEGER        = 3
  28.     PGUI_UNSIGNED_INTEGER    = 4
  29.     PGUI_FLOAT                = 5
  30.  
  31.  
  32. -- --------------------------------------------------- MESAGE ID
  33.  
  34. PGUI_1STBUTTON_DOWN            =  0 
  35. PGUI_1STBUTTON_UP            =  1 
  36. PGUI_1STBUTTON_CLCK            =  2
  37. PGUI_1STBUTTON_DBLCLCK      =  3
  38. PGUI_1STBUTTON_DRAG            =  4
  39. PGUI_1STBUTTON_DROP            =  5
  40. PGUI_2NDBUTTON_DOWN            =  6
  41. PGUI_2NDBUTTON_UP            =  7
  42. PGUI_2NDBUTTON_CLCK            =  8
  43. PGUI_2NDBUTTON_DBLCLCK        =  9
  44. PGUI_2NDBUTTON_DRAG            = 10
  45. PGUI_2NDBUTTON_DROP            = 11
  46. PGUI_POINTER_MOVE            = 12
  47. PGUI_POINTER_HOVER            = 13
  48. PGUI_POINTER_LEAVE            = 14
  49. PGUI_POINTER_DRAG_HOVER        = 15
  50. PGUI_POINTER_DRAG_LEAVE        = 16
  51. PGUI_CHAR_PRESSED            = 17
  52. PGUI_KEY_PRESSED            = 18
  53. PGUI_VALUE_CHANGED            = 19
  54. PGUI_RELEASE_FOCUS            = 20
  55. PGUI_INITIALISATION            = 21
  56. PGUI_ANIMATION_FINISHED        = 22
  57.  
  58.  
  59.  
  60.  
  61. -- -------------------------------------------- PGUISelectionBox child types
  62.  
  63.     PGUI_SB_GROUPED_FRAME            = 0
  64.     PGUI_SB_UNGROUPED_FRAME            = 1
  65.     PGUI_SB_DETAILED_FRAME            = 2    
  66.     PGUI_SB_HEALTH_TEXT                = 3
  67.     PGUI_SB_HEALTH_BAR                = 4
  68.     PGUI_SB_ARMOUR_TEXT                = 5
  69.     PGUI_SB_ARMOUR_BAR                = 6    
  70.     PGUI_SB_DEFENCE_TEXT            = 7
  71.     PGUI_SB_DEFENCE_BAR                = 8
  72.     PGUI_SB_MORALE_TEXT                = 9
  73.     PGUI_SB_MORALE_BAR                = 10
  74.     PGUI_SB_CQB_TEXT                = 11
  75.     PGUI_SB_CQB_BAR                    = 12
  76.     PGUI_SB_ACURACY_SOLDIER_TEXT    = 13
  77.     PGUI_SB_ACURACY_SOLDIER_BAR        = 14
  78.     PGUI_SB_VETERANCY_TEXT            = 15
  79.     PGUI_SB_VETERANCY_BAR            = 16
  80.     PGUI_SB_WEAPON_1ST                = 17
  81.     PGUI_SB_WEAPON_2ND                = 18
  82.     PGUI_SB_FIREPOWER_1ST            = 19
  83.     PGUI_SB_FIREPOWER_2ND            = 20
  84.     PGUI_SB_ACCURACY_1ST            = 21
  85.     PGUI_SB_ACCURACY_2ND            = 22
  86.     PGUI_SB_AMMORECYCLE_1ST_TEXT    = 23
  87.     PGUI_SB_AMMORECYCLE_1ST_BAR        = 24
  88.     PGUI_SB_AMMORECYCLE_2ND_TEXT    = 25
  89.     PGUI_SB_AMMORECYCLE_2ND_BAR        = 26
  90.     PGUI_SB_MAXSPEED_TEXT            = 27
  91.     PGUI_SB_MAXSPEED_BAR            = 28
  92.     PGUI_SB_SMALL_PCT                = 29
  93.     PGUI_SB_BIG_PCT                    = 30
  94.  
  95.  
  96.  
  97.